<template>
	<div class="kaochangguanli flex">
    <left></left>
    <div style="width: calc(100vw - 280px); height: calc(100vh - 40px); overflow: auto; padding: 30px;">
      <div style="background: #fff; border-radius: 10px; width: 1000px; padding: 30px; min-height: calc(100vh - 60px);">
        <div class="mb20">标题：{{all.title}}</div>
        <div class="mb20">简介：{{all.desc}}</div>
        <div class="mb20">发布时间：{{all.title}}</div>
        <div class="mb20">大图：<img :src="all.img_url"></div>
        <div v-html="all.content"></div>
      </div>
    </div>
	</div>
</template>

<script>

  import left from '../left.vue'
	export default {
		name: 'kaochangguanli',
    components:{
      left
    },
		data() {
			return {
        search:{
          id:this.$route.query.id
        },
        all:""
			}
		},
		created() {
      this.getlist()

		},
		mounted() {

		},
		methods: {

      getlist:function(){
        axios.get(this.IP_URL+'/admin/review/info',{params:this.search}).then((response)=>{
        	if (response.data.msg.code == 0) {
        		this.all = response.data.data
        	} else {
        		this.$message.error(response.data.msg.info);
        	}
        })
      }
		}
	}
</script>


<style scoped >

</style>
